//
//  AutoCheckService.h
//  MobileChecker
//
//  Created by Lymons on 15-1-6.
//  Copyright (c) 2015年 Lymons. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
#import "Steps.h"
#import "CheckResultUserDefaults.h"

@interface AutoCheckService : NSObject

- (RACSignal *)networkCheckSignal:(Steps *)leftSteps;
- (RACSignal *)bluetoohCheckSignal:(Steps *)leftSteps;
- (RACSignal *)gpsCheckSignal:(Steps *)leftSteps;
- (RACSignal *)magneticCheckSignal:(Steps *)leftSteps;
- (RACSignal *)gyroCompassCheckSignal:(Steps *)leftSteps;
- (RACSignal *)proximityCheckSignal:(Steps *)leftSteps;
- (RACSignal *)luminaCheckSignal:(Steps *)leftSteps;

- (void)stopGps;

+ (NSString *)messageWithError:(NSError *)error;

@end
